package com.yjyw.tiexie.util;

import java.util.Comparator;

/**
 * Created on 2019/7/23.
 *
 * @author ${AUTHOR}
 * TODO:
 */
public class MapKeyComparator implements Comparator<String> {

    @Override
    public int compare(String s1, String s2) {
        return s1.compareTo(s2);  //从小到大排序
    }
}
